<template>
  <div class="empty-data">
    <img style="width:128px;height:128px;" src="@/assets/imgs/common/no_data.svg" alt="">
    <div class="text">{{ text ? text : $t('m.noData') }}~</div>
  </div>
</template>
<script>
export default {
  name: 'emptydata',
  props: ['text'],
  data() {
    return {

    }
  },
}
</script>
<style scoped lang="scss">
.empty-data {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  & > img {
    width: 128px;
    height: 128px;
  }

  .text {
    color: #e4e4e6;
    font-size: 17px;
    padding-top: 8px;
    font-weight: 600;
  }
}

</style>
